{% extends 'TaxxKernelBundle::layout.html.twig' %}

{% block title %}Welcome to TAXX{% endblock %}

{% block js %}
    <script src="{{ asset('/bundles/user/js/translations/translations.js') }}" type="text/javascript"></script>
    <script src="{{ asset('/bundles/kernel/js/remote_data/remote_data.js') }}" type="text/javascript"></script>
    <script src="{{ asset('/bundles/kernel/js/form/form_check.js') }}" type="text/javascript"></script>
    <script src="{{ asset('/bundles/user/js/form/register_form_check.js') }}" type="text/javascript"></script>
    <script src="{{ asset('/bundles/user/js/form/login_form_check.js') }}" type="text/javascript"></script>
    <script src="{{ asset('/bundles/user/js/form/forgot_password_form_check.js') }}" type="text/javascript"></script>
{% endblock %}

{% block content %}
    
    {% if app.session.hasFlash('notice') %}
        <div class="notice_message">
            {{ app.session.flash('notice')|raw }}
        </div>
    {% endif %}

    {% if app.session.hasFlash('error') %}
        <div class="notice_message">
            {{ app.session.flash('error')|raw }}
        </div>
    {% endif %}
    
    {{login_form|raw}}
    {{forgot_password_form|raw}}
    {{register_form|raw}}
    
{% endblock %}